package com.mrh.mall.admin.service;


import com.mrh.mall.admin.dto.PmsBrandParam;
import com.mrh.mall.mbg.model.PmsBrand;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface PmsBrandService {

    List<PmsBrand> listAllBrand();

    int createBrand(PmsBrandParam pmsBrandParam);

    int updateBrand(Long id,PmsBrandParam pmsBrandParam);

    int deleteBrand(Long id);

    int deleteBrands(List<Long> ids);

    List<PmsBrand> listBrand(String keyword, Integer showStatus, Integer pageNum, Integer pageSize);

    PmsBrand getItem(Long id);

    int updateShowStatus(List<Long> ids,Integer showStatus);

    int updateFactoryStatus(List<Long> ids,Integer factoryStatus);
}
